import request from '@/utils/request'

// 查询景区报警动态信息列表
export function selectScenicAlarmInfoList(query) {
  return request({
    url: '/system/boatAlarmInfo/list',
    method: 'get',
    params: query
  })
}

// 分页查询景区报警动态信息列表
export function selectScenicAlarmInfoListByPage(query) {
  return request({
    url: '/system/boatAlarmInfo/listByPage',
    method: 'get',
    params: query
  })
}

// 更新景区报警动态信息
export function updateScenicAlarmInfo(data) {
  return request({
    url: '/system/boatAlarmInfo',
    method: 'put',
    data: data
  })
}
